const ExpiresInKey = 'Admin-Expires-In'

export function getToken() {
    return localStorage.getItem('token')
}

export function setToken( token) {
    return localStorage.setItem('token', token)

}

export function removeToken() {
    return localStorage.removeItem('token')
}

// export function getExpiresIn() {
//     return Cookies.get(ExpiresInKey) || -1
// }

// export function setExpiresIn(time) {
//     return Cookies.set(ExpiresInKey, time)
// }

// export function removeExpiresIn() {
//     return Cookies.remove(ExpiresInKey)
// }